package com.eurake.seckill.utils;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class ValidatorUtil {
    private static final Pattern mobile_pattern = Pattern.compile("^1[3-9]\\d{9}$");
    public static boolean isMobile(String mobile){
        Matcher matcher = mobile_pattern.matcher(mobile);
        return matcher.matches();
    }
    public static void main(String[] args){
        System.out.println(isMobile("99999999111"));
    }
}
